<div class="main f_r">
	<div class="uc_title m_10">
		<label class="current"><span>未评价</span></label><label><span><a href="{url:/ucenter/isevaluation}">已评价</a></span></label>
	</div>
	<table class="list_table m_10" width="100%" cellpadding="0" cellspacing="0">
		<col width="120px" />
		<col width="360px" />
		<col width="160px" />
		<col />
		<thead><tr><th>订单编号</th><th>商品名称</th><th>购买时间</th><th>评价</th></tr></thead>
		<tbody>
			{set:$page= (isset($_GET['page'])&&(intval($_GET['page'])>0))?intval($_GET['page']):1;}
			{query:fields=order_no,name,time,c.id,goods_id name=comment as c join=left join goods as go on c.goods_id eq go.id where= c.user_id eq $user[user_id] and c.status eq 0 page=$page}
			<tr>
				<td>{$item['order_no']}</td><td><a href="{url:/site/products/id/$item[goods_id]}" target='_block'>{$item['name']}</a></td><td>{$item['time']}</td><td><a class="orange bold" href="{url:/site/comments/id/$item[id]}" target="_block">发表评价</a></td>
			</tr>
			{/query}
		</tbody>
		<tfoot><tr><td colspan="4" class="t_l">{$query->getPageBar()}</td></tr></tfoot>
	</table>
</div>
